package com.yvan.demo.web1.service;

import com.yvan.demo.common.entity.SysWh;
import com.yvan.demo.web1.dao.SysWhMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(readOnly = true)
public class SysWhService {

    @Autowired
    private SysWhMapper sysWhMapper;

    public List<SysWh> selectActive() {
        return sysWhMapper.selectActive();
    }
}
